package com.matt.service.care.po;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 餐食记录
 */

@Data
public class HLSleepRecordPO extends HLCareBaseRecordPO {

//    @Column(columnDefinition = " datetime COMMENT '入睡时间'")
    @ApiModelProperty(value = "入睡时间")
    private Date sleepTime;

//    @Column(columnDefinition = " datetime COMMENT '苏醒时间'")
    @ApiModelProperty(value = "苏醒时间")
    private Date wakeupTime;

//    @Column(columnDefinition = " varchar(30) COMMENT '时长'")
    @ApiModelProperty(value = "睡觉时长")
    private String duration;

//    @Column(columnDefinition = " int  COMMENT '睡眠状态评分'")
    @ApiModelProperty(value = "睡觉评分， 3分正常", allowableValues = "1,2,3,4,5")
    private Integer rankVal;

//    @Column(columnDefinition = " int  COMMENT '备注'")
    @ApiModelProperty(value = "备注")
    private String remark;
}
